package com.readywu.btchecker;

import android.content.Context;

public class APIConst {

    // public static final String HOST = "http://192.168.5.158:8080/";
    public static final String HOST = "http://test.eteams.cn/";
    public static final String JSESSIONID = "jsessionid";
    public static final String API_URL_DOWNLOAD = "base/download.jspx?id=%s";
    public static final String API_URL_UPLOAD = "base/upload.json";
    public static final String API_URL_SEARCH_KEYWORD = "search/keywords/%s/%s.json";
    /*
     * Task
     */
    public static final String API_URL_WORK_CENTER_FORMATTER = "tasks/%s.json";
    public static final String API_URL_TASK_GET_FORMATTER = "task/%s.json";
    public static final String API_URL_TASK_SAVE = "task.json";
    public static final String API_URL_COMMENT_GET_FORMATTER = "comment/%s.json";
    public static final String API_URL_COMMENT_SAVE = "comment.json";
    /**
     * mainline
     */
    public static final String API_URL_MAINLINE_GET_ALL = "mainline.json";
    public static final String API_URL_MAINLINE = "mainline.json";
    public static final String API_URL_MAINLINE_LINK = "mainline/link.json";
    public static final String API_URL_MAINLINE_UNLINK = "mainline/unlink/%s/%s.json";
    public static final String API_URL_MAINLINE_SEARCH = "search/mainline/%s/%s.json";
    /**
     * Tag
     */
    public static final String API_URL_TAG_GET_ALL = "tag.json";
    public static final String API_URL_TAG = "tag.json";
    public static final String API_URL_TAG_LINK = "tag/link.json";
    public static final String API_URL_TAG_UNLINK = "tag/unlink/%s/%s.json";
    public static final String API_URL_TAG_SEATCH = "search/tag/%s/%s.json";

    /**
     * 操作日志
     */
    public static final String API_URL_STRAEM_GET_FORMATTER = "stream/%s.json";
    /**
     * EMPLOYEE
     */
    public static final String API_URL_EMPLOYEE_GET_ALL = "users.json";
    public static final String API_URL_USER_FOLLOW_FORMATTER = "users/myfollow/%s.json";
    public static final String API_URL_LOGIN = "teamsLogin";

    /**
     * WEIXIN
     */
    public static final String API_URL_WECHAT_SEND_FORWARD_MESSAGE = "chatmessage/forward/%s.json";
    public static final String API_URL_WECHAT_SEND_MESSAGE = "chatmessage.json";
    public static final String API_URL_WECHAT_SEND_MEDIA_MESSAGE = "base/chatattachment.json";
    public static final String API_URL_WECHAT_GET_CHATS = "chatmessage.json";
    public static final String API_URL_WECHAT_GET_CHAT_HISTORY = "chatmessage/history.json";
    public static final String API_URL_WECHAT_CHANNEL = "channel.json";
    public static final String API_URL_WECHAT_CHANNEL_FORMATTER = "channel/%s.json";
    public static final String API_URL_WECHAT_CHANNEL_ADD_USER = "channel/addMembers/%s.json";
    public static final String API_URL_WECHAT_CHANNEL_ROMOVE_USER = "channel/remove/%s/%s.json";
    public static final String API_URL_WECHAT_GET_MESSAGE = "chatmessage/view/%s.json";
    public static final String API_URL_WECHAT_READ_MESSAGE = "chatmessage/readed.json";
    /**
     * Watch
     */
    public static final String API_URL_WATCHING_FORMATTER = "watch/%s.json";
    public static final String API_URL_WATCHUSER_FORMATTER = "users/follow/%s/%s.json";
    public static final String API_URL_UNWATCHUSER_FORMATTER = "users/unfollow/%s/%s.json";

    /**
     * Customer(customer,contact)
     */
    public static final String API_URL_CUSTOMER_GET_ALL_CUSTOMERS_FORMATTER = "customers/%s.json";
    public static final String API_URL_CUSTOMER_GET_ALL_CONTACTS_FORMATTER = "contacts/viewlist/%s.json";
    public static final String API_URL_CUSTOMER_ADD_CONTACT = "contacts.json";
    public static final String API_URL_CUSTOMER_ADD_CUSTOMER = "crm/customer.json";
    public static final String API_URL_CUSTOMER_DELETE_CONTACT_FORMATTER = "contacts/%s.json";
    public static final String API_URL_CUSTOMER_DELETE_CUSTOMER_FORMATTER = "crm/customer/%s.json";
    public static final String API_URL_CUSTOMER_MODIFY_CUSTOMER_FORMATTER = "crm/customer/%s.json";
    public static final String API_URL_CUSTOMER_MODIFY_CONTACT_FORMATTER = "contacts/%s.json";
    public static final String API_URL_CUSTOMER_MODIFY_CUSTOMER_MANAGER_FORMATTER = "crm/customer/updateManager/%s/%s.json";
    public static final String API_URL_CUSTOMER_GET_SINGLE_CONTACT_FORMATTER = "contacts/%s.json";
    public static final String API_URL_CUSTOMER_GET_SINGLE_CUSTOMER_FORMATTER = "crm/customer/%s.json";
    public static final String API_URL_CUSTOMER_ADD_CUSTOMERPROPERTY = "customerproperty.json";
    public static final String API_URL_CUSTOMER_GET_CUSTOMERPROPERTYS = "customerproperty/property.json";
    public static final String API_URL_CUSTOMER_GET_ALL_CONTACTS_BY_USERID = "contacts/pageQuery.json";

    public static final int PARAM_PAGESIZE_MAX = 10000;
    public static final String API_URL_DOCUMENT_LIST = "documents/%s.json";
    public static final String API_URL_DOCUMENT_INFO = "km/document/%s.json";
    public static final String API_URL_DOCUMENT_MANAGER = "/km/document/updateAuthor/%s/%s";

}
